QT       += core gui network script printsupport serialbus multimedia serialport xml


TARGET = GPIO_test


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17


CONFIG(release, debug|release):  DESTDIR =  $$PWD/../../bin_Release/

else: CONFIG(debug, debug|release):  DESTDIR =  $$PWD/../../bin_Debug/

 include($$PWD/../lib_src/base/base.pri)


#include($$PWD/customplot/customplot.pri)

 include($$PWD/../lib_src/net/net.pri)

 include($$PWD/../lib_src/nodes/nodes.pri)

 include($$PWD/../lib_src/serial/serial.pri )

 #include($$PWD/../lib_src/graphics/graphics.pri)

#include($$PWD/widget/widget.pri)

#INCLUDEPATH += $$PWD/net

#INCLUDEPATH += $$PWD/base


#INCLUDEPATH += $$PWD/../CPS_Nodes

#INCLUDEPATH += $$PWD/nodes

LIBS += -lshell32


DEFINES +=  NODE_EDITOR_STATIC
DEFINES += LOG4QT_STATIC _QT_NODES LOG4QT_LIBRARY

CONFIG(release, debug|release)
{
#  QMAKE_LFLAGS += /MINIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\"
#   QMAKE_LFLAGS += /MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\"
}


# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

include($$PWD/gpioTool.pri)

SOURCES += \
    GPIOApp.cpp \
 main.cpp \

HEADERS += \
    GPIOApp.h

FORMS += \


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
 ../Viewer/resources/Skin.qrc \
     ../Viewer/resources/icons.qrc \
 ../Viewer/resources/ui.qrc


DISTFILES += \
EPowerViewer.manifest \
Version.pri \
Version.rc.in \
Viewer.pro.user \
version.h.in
